package com.atguigu.gmall.service.impl;

import com.atguigu.gmall.bean.UserAddress;
import com.atguigu.gmall.service.UserService;

import java.util.Arrays;
import java.util.List;

/**
 * 用户服务
 *
 * @author brian
 */
public class UserServiceImpl implements UserService {
    @Override
    public List<UserAddress> getUserAddressList(String userId) {
        UserAddress address1 = new UserAddress(1, "西湖区西溪首座菜鸟驿站", "1", "李老师", "05718888", "Y");
        UserAddress address2 = new UserAddress(2, "江干区", "1", "王老", "05719999", "N");
        return Arrays.asList(address1, address2);
    }
}
